<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>设置</title>
		<link rel="stylesheet" type="text/css" href="equipmentindex.css">
		<link rel="stylesheet" type="text/css" href="../../css/api.css" />
		<link rel="stylesheet" type="text/css" href="../../css/sm.min.css">
		<link rel="stylesheet" href="../../css/sm-extend.min.css">
		<script type='text/javascript' src='../../script/zepto.min.js' charset='utf-8'></script>
		<script type='text/javascript' src='../../script/sm.min.js' charset='utf-8'></script>
		<script type='text/javascript' src='../../script/sm-extend.min.js' charset='utf-8'></script>
    <style>
        body {
            font-family: "微软雅黑";
        }

        a {
            color: #000;
        }

        a:active, a:link, a:visited, a:hover {
            color: #000;
            text-decoration: none;
        }
        .list-block{
             margin: 0;
        }
        .list-block .item-inner:after{
            content:none;
        }
        .list-block .item-media+.item-inner{
            margin-left: 0rem;
        }
        .item-title {
            font-size: 15px;
            font-weight: 600;
        }
        .bar{
            z-index: 0;
        }
        .checkbox {
            position: relative;
            display: inline-block;
        }
        .checkbox:after, .checkbox:before {
            font-family: FontAwesome;
            -webkit-font-feature-settings: normal;
            -moz-font-feature-settings: normal;
            font-feature-settings: normal;
            -webkit-font-kerning: auto;
            -moz-font-kerning: auto;
            font-kerning: auto;
            -webkit-font-language-override: normal;
            -moz-font-language-override: normal;
            font-language-override: normal;
            font-stretch: normal;
            font-style: normal;
            font-synthesis: weight style;
            font-variant: normal;
            font-weight: normal;
            text-rendering: auto;
        }
        .checkbox label {
            width: 90px;
            height: 30px;
            background: #ccc;
            position: relative;
            display: inline-block;
            border-radius: 46px;
            -webkit-transition: 0.4s;
            transition: 0.4s;
            top: 3px;
            left: 0;
        }
        .checkbox label:after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            border-radius: 100%;
            left: 0;
            top: -5px;
            z-index: 2;
            background: #fff;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
            -webkit-transition: 0.4s;
            transition: 0.4s;
        }
        .checkbox input {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
            opacity: 0;
            cursor: pointer;
        }
        .checkbox input:hover + label:after {
            box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
        }
        .checkbox input:checked + label:after {
            left: 40px;
        }
        .model-2 .checkbox label {
            width: 60px;
        }
        .model-2 .checkbox label:after {
            top: 0;
            width: 30px;
            height: 30px;
        }
        .model-2 .checkbox input:checked + label {
            background: #209fd2;
        }
        .model-2 .checkbox input:checked + label:after {
            left: 35px;
        }
    </style>
</head>
<body>
<div class="page-group">
    <div class="page">
        <header class="bar bar-nav" id="header">
            <a class="icon pull-left" id="back"><img src="../../image/toright.png"/></a>
            <!--<a class="icon icon-refresh pull-right"></a>-->
            <h1 class="title">设置</h1>
            <!--<a id="regist" style="float: right; height: 44px; line-height: 50px;">-->
            <!--<img src="../../images/add.png"/>-->
            <!--</a>-->
        </header>
        <div class="content" data-distance="50" style="background-color: #f0f0f0;">
            <div class="list-block" id="list-block">
                <ul>
                    <li class="item-content" style="border-bottom: 10px solid #f0f0f0; margin-top: 10px;" ontouchstart='touchstart(this)'>
                        <div class="item-media">
                            <i class="icon icon-f7"></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title" style="width: 100%">消息推送</div>
                            <section class="model-2">
                                <div class="checkbox">
                                    <input type="checkbox"/>
                                    <label></label>
                                </div></section>
                            <!--<img src="../../images/jiantou.png"/>-->
                        </div>
                    </li>
                    <li class="item-content" style="border-bottom: 1px solid #ededed;" ontouchstart='touchstart(this)'>
                        <div class="item-media">
                            <i class="icon icon-f7"></i>
                        </div>
                        <div class="item-inner create-sex">
                            <div class="item-title" style="width: 100%">存储管理</div>
                            <img src="../../image/jiantou.png"/>
                        </div>
                    </li>
                    <li class="item-content shareAll" style="border-bottom: 1px solid #ededed;" ontouchstart='touchstart(this)'>
                        <div class="item-media">
                            <i class="icon icon-f7"></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title" style="width: 100%">语言</div>
                            <!--<input type="text" id='datetime-picker' style="text-align: right; padding-right:14px; " value="1991-1-1"/>-->
                            <img src="../../image/jiantou.png"/>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <nav class="bar bar-tab">
            <a class="tab-item active" href="album.html">
                <span class="icon"><img src="../../image/temp/photo.png"/></span>
                <span class="tab-labels">相册</span>
            </a>
            <a class="tab-item" href="equipmentindex.html">
                <span class="icon"><img src="../../image/temp/vadio.png"></span>
                <span class="tab-labels">设备</span>
            </a>
            <a class="tab-item" href="#">
                <span class="icon"><img src="../../image/temp/sit_b.png"></span>
                <span class="tab-labels current">设置</span>
            </a>
        </nav>
    </div>
</div>
<script>
    function touchstart(o) {
        o.style.backgroundColor = '#eaeaea';
        var aDiv = document.getElementsByTagName('li');
        for (var i = 0; i < aDiv.length; i++) {
            aDiv[i].id = 'li' + i;
            // var aa=aDiv.setAttribute("id",'li'+i);
            if (aDiv[i].id == o.id) {
                setTimeout(function () {
                    test(o.id);
                }, 1000 * 0.2);
            }
        }
    }
    function test(ss) {
        var aa = document.getElementById(ss);
        aa.style.background = "#fff";
    }
</script>
</body>
</html>